<?php
class _mod{
    private $db;
    public function __construct(){
        $this->db=new xdb;
    }
    function f() {
		return $this->db->getjson("select * from amview");
    }
}